from django.contrib import admin
from .models import (
    Notice, Active, BgPic, Bill, Comment,
    Enotice, LostFound, User, Property,
    Repair, Staff, SearchRecord, ActivityRegistration, PropertyUserRelation
)

# 注册所有模型
admin.site.register(Notice)
admin.site.register(Active)
admin.site.register(BgPic)
admin.site.register(Bill)
admin.site.register(Comment)
admin.site.register(Enotice)
admin.site.register(LostFound)
admin.site.register(User)
admin.site.register(Property)
admin.site.register(Repair)
admin.site.register(Staff)
admin.site.register(SearchRecord)
admin.site.register(ActivityRegistration)
admin.site.register(PropertyUserRelation)